//
//  ArticleMsg.h
//
//  Created by Heige  on 16/5/10
//  Copyright (c) 2016 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ArticleParent;

@interface ArticleMsg : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSString *caTime;
@property (nonatomic, strong) ArticleParent *parent;
@property (nonatomic, assign) double caId;
@property (nonatomic, strong) NSString *caContent;
@property (nonatomic, strong) NSString *pId;
@property (nonatomic, strong) NSString *caVoice;
@property (nonatomic, assign) double caViewNum;
@property (nonatomic, assign) double caFavNum;
@property (nonatomic, assign) double caCommentNum;
@property (nonatomic, strong) NSString *caTitle;

+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end
